filechooserentry: Simplify code
authorBenjamin Otte <otte@redhat.com>
Mon, 7 Nov 2011 03:20:28 +0000 (04:20 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 16 Dec 2011 19:09:13 +0000 (20:09 +0100)
commit5607cd9170cb28230127c62a988749e8a6fdbec1
tree298bfdf03c9385a606b9769ae748ed3b9a22de49
parentd27d73f885d8358b39dbcc2a170d8bdbdc1d91cb
filechooserentry: Simplify code

Use all the clever functions we invented in recent refactorings to
compute the file and dir part and the current folder.

This also fixes the bug where "./" was not taken as the current
directory but interpreted as a file named "./".
gtk/gtkfilechooserentry.c